#ifndef Color_h
#define Color_h
#include "Colors.h"

#define RGB_COLOR_SPACE 1
#define HSV_COLOR_SPACE 2
#define YIQ_COLOR_SPACE 3

class Color {
	int colorSpace;
	int maxValue;
	HSV hsv;
	RGB rgb;
	YIQ yiq;
	public:
		void setMaxValue(int);
		void setRGB(RGB);
		void setHSV(HSV);
		void setYIQ(YIQ);

		HSV getHSV();
		RGB getRGB();
		YIQ getYIQ();
};

Color* newColor(int);
Color* newColor(HSV, int);
Color* newColor(RGB, int);

#endif
